package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//多个dao的扫面如下。不要扫描service,因为service没有对应的mapper就会报错，接口中的方法没有对应的绑定；
//@MapperScan({"com.example.dao","com.example.order.dao","com.example.user.dao"})
@MapperScan("com.example.dao")
public class SpringBootSsmApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootSsmApplication.class, args);
	}

}
